module.exports = {
  //配置代理跨域
  devServer: {
    proxy: {
      "/api": {
        target: "http://39.98.123.211",
      },
    },
  },
  configureWebpack: {
    resolve: {
      alias: {
        // 脚手架3中起别名可以用@代替src
        assets: "@/assets",
        components: "@/components",
        views: "@/views",
      },
    },
  },
};
